.tradeRate {
  :global {
    .ant-table-body {
      padding: 2px;
    }

    .ant-table.ant-table-small {
      border: none;
      table{padding: 0}
      .ant-table-thead {
        tr {
          th {
            padding: 8px;
            white-space: nowrap;
            background: #d4e4f9;
            text-align: right;

            &:last-child {
              padding-right: 20px;
            }
          }
        }

        table {
          background: #d4e4f9;
        }
      }

      .ant-table-tbody {
        tr {
          td {
            // border: none;
            line-height: 26px;
            white-space: nowrap;
            text-align: right;
            color: #333333;
            padding-top:5px;
            padding-bottom:5px;

            &:first-child {
              text-align: left;
              color: #2d69b0;
              padding-left: 20px;
              padding-top: 5px;
              padding-bottom:5px;
              padding-right:8px;
            }
            &:last-child{
              padding-right: 20px;
              padding-top: 5px;
              padding-bottom:5px;
              padding-left:8px;
            }
            &:nth-child(2){
              padding: 5px 8px;
            }
          }
        }
      }
    }

    .total {
      font-size: 12px;
      padding:10px 2px 2px;
      .ant-row{
        background-color: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 4px 0 rgba(123, 123, 123, 0.16);
        margin-top: 0;
      }
      .ant-col-12 {
        &:last-child {
          p {
            border: none;
            padding-right: 20px;
            margin: 12px 0;
          }
        }

        &:first-child {
          p {
            padding-left: 20px;
            margin: 12px 0;
          }
        }
      }

      p {
        text-align: right;
        overflow: hidden;
        border-right: 1px #ccc solid;
        padding: 0 8px;

        b {
          float: left;
        }
      }
    }
  }
}
